<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <style>
            
            table{
                background-color:#ffffbe ;
                border: #B2CBFF solid;
                border-width: 1px 0 0 1px;
                padding: 0;
                font-size: 15px;
                font-family:楷体,仿宋;
            }
            table td,th{
                border: #B2CBFF solid;
                border-width: 0 1px 1px 0;
                margin:0;
                padding: 2px;
            }
            table th{
                color:red;
            }
        </style>
    </head>
    <body>
        <div>
            <p>
                筛选：
                
                <a href="<{$config.SITE_URL}>/myhome.php?m=myorder&s=0">待付款订单</a>
                <a href="<{$config.SITE_URL}>/myhome.php?m=myorder&s=1">待收货订单</a>
                <a href="<{$config.SITE_URL}>/myhome.php?m=myorder&s=2">已完成订单</a>
                <a href="<{$config.SITE_URL}>/myhome.php?m=myorder">所有</a>
            
            </p>
            
            <table style="width: 700px;margin:5px;" cellspacing="0">
                
                <tr>
                    <th><b>订单编号</b></th>
                    <th><b>包含宝贝</b></th>
                    <th><b>支付总额</b></th>
                    <th><b>创建时间</b></th>
                    <th><b>状态</b></th>
                    <th><b>操作</b></th>
                </tr>
                <{section name=i loop=$orderlist}>
                <tr>
                    <td> <{$orderlist[i].id}></td>
                    <td> <{$orderlist[i].item}></td>
                    <td>共 <{$orderlist[i].price}> 元</td>
                    <td> <{$orderlist[i].time|date_format:'%Y-%m-%d %H:%M:%S'}></td>
                    <td> <font color="red"><{if $orderlist[i].status==0}>待付款<{elseif $orderlist[i].status==1}>已付款,待收货<{else}>完成<{/if}></font></td>
                    <td><a href="<{$config.SITE_URL}>/order.php?id=<{$orderlist[i].id}>" target="_blank"><{if $orderlist[i].status==0}>立即付款<{elseif $orderlist[i].status==1}>查看<{else}>查看<{/if}></a></td>
                </tr>
                <{/section}>
            </table>
            <p><{$page}></p>
        </div>
    </body>
</html>
